X-Git-Url: https://permondes.de/gitweb/Analog_Engine.git/blobdiff_plain/5defb6821f666313f533a1e34c1329e75dae1c37..7fbf87e4750e1393d9b6395818b70000ca99c758:/AESL/TP1%2007.19%20Falling%20Mass.DANCE?ds=inline diff --git a/AESL/TP1 07.19 Falling Mass.DANCE b/AESL/TP1 07.19 Falling Mass.DANCE new file mode 100644 index 0000000..30a58dc --- /dev/null +++ b/AESL/TP1 07.19 Falling Mass.DANCE @@ -0,0 +1,44 @@ +# FallingParticle, VERSION 20240225 +# Calculate the deflection from the vertical caused by the Earth's rotation of a particle falling freely from rest from a height h. +# Differential Equations: +# x''=-bz'+ay' # x-axis is along latitude, directed to east +# y''=-ax' # y-axis is along longitude, directed to north +# z''=-g+ax' # z-axis is perpendicular to the surface of earth +# g: gravitational acceleration = 9,81 m/s² +# a: 2*omega*sin(phi) +# b: 2*omega*cos(phi) +# omega: rotation velocity of the earth = 2*pi/day +# phi: Latitude of location (0-90°) +# Initial Condition: z(0)=h +# The full solution requires 6 INTEGRATORs, Anabrid-THAT just has 5. The deflection to longitude (y) is neglegible and can be omitted (marked #*). +# It could also be solved in a separated algorithm omitting x. + +coefficient(1): a_y +coefficient(2): a_x +coefficient(3): b +coefficient(4): +1 -> g +coefficient(5): -1 -> -h + +iintegrate (-bz', ay') -> -x' # Input is x'' +iintegrate (-x') -> x + +iintegrate (y'') -> -y' +iintegrate (-y') -> y + +iintegrate (z'') -> -z' +iintegrate (-z') -> z: + IC: -h + limit: GT0 # via z to cathode of diode to SJ + +-x' * a_x -> -ax' +y'' = -ax' +-y' * a_y -> ay' +invert (-ay') -> ay' +-z' * b -> -bz' +isum(-ax', g) -> z'' # gives -g+ax' + +# x -> output (x) +# y -> output (y) +# z -> output (z) + +#OP-TIME 7,3ms